import sys

import requests,time


def post(post_data, url):
    rep = requests.post(url=url, params=post_data)
    return rep

url_value=sys.argv[1]
# url_value="https://b.yzcdn.cn/96839/GuangMaxApp-release.apk"
post_data={
    "job":"guang_business_ui",
    "token":"111f4779db2bb3f9cc14d29029267d5be3",
    "INSTALL_URL":url_value
}

post_ret = post(post_data,"http://172.18.131.83:8080/buildByToken/buildWithParameters")
print(post_ret)
